package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 商机阶段变化表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "business_change")
public class BusinessChange implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 商机id
     */
    @TableField(value = "business_id")
    private Integer businessId;

    /**
     * 阶段id
     */
    @TableField(value = "status_id")
    private Integer statusId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人id
     */
    @TableField(value = "create_user_id")
    private Integer createUserId;

    private static final long serialVersionUID = 1L;
}